package com.novel.pojo.novel;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "novel_comment")
public class NovelComment {
    @Id
    private String commentId;//评论id
    private String commentContent;//评论内容
    private String userId;//评论者id
    private String novelId;//小说id
    private Date createdTime;//创建时间
    private String createdIp;//创建ip
    private String chapterId;//章节id
    private String userImg;//用户头像地址
    private String userName;//用户昵称
}
